.mat-toast-title {
  font-weight: 700;
  display: block;
}

.mat-toast-icon {
  width: 34px;
  font-size: 26px;
}

.mat-toast-ripple {
  padding: 0 !important;
}

.mat-toast-ripple > div{
  padding: 10px 5px 10px 5px;
}

.mat-toast-message {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  display: flex;
  align-items: center;
}

.mat-toast-message a, .mat-toast-message label {
  color: #fff
}

.mat-toast-message a:hover {
  color: #ccc;
  text-decoration: none
}
.mat-toast-body{
  flex: 1;
}

.mat-toast-close-button {
  position: absolute !important;
  right: -.3em;
  top: -.3em;
}

.mat-toast-top-center {
  top: 0;
  right: 0;
  width: 100%
}

.mat-toast-bottom-center {
  bottom: 0;
  right: 0;
  width: 100%
}

.mat-toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%
}

.mat-toast-bottom-full-width {
  bottom: 0;
  right: 0;
  width: 100%
}

.mat-toast-top-left {
  top: 12px;
  left: 12px
}

.mat-toast-top-right {
  top: 12px;
  right: 12px
}

.mat-toast-bottom-right {
  right: 12px;
  bottom: 12px
}

.mat-toast-bottom-left {
  bottom: 12px;
  left: 12px
}

.mat-toast-container {
  position: fixed;
  z-index: 999999;
  pointer-events: none
}

.mat-toast-container * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

.mat-toast-container > div {
  position: relative;
  pointer-events: auto;
  overflow: hidden;
  margin: 0 0 6px;
  //padding: 15px 15px 15px 50px;
  width: 300px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-position: 15px center;
  background-repeat: no-repeat;
  -moz-box-shadow: 0 0 12px #999;
  -webkit-box-shadow: 0 0 12px #999;
  box-shadow: 0 0 12px #999;
  color: #fff;
  opacity: .8;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  filter: alpha(opacity=80)
}

.mat-toast-container > div.rtl {
  direction: rtl;
  padding: 15px 50px 15px 15px;
  background-position: right 15px center
}

.mat-toast-container > div:hover {
  -moz-box-shadow: 0 0 12px #000;
  -webkit-box-shadow: 0 0 12px #000;
  box-shadow: 0 0 12px #000;
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  cursor: pointer
}

.mat-toast-container.mat-toast-bottom-center > div, .mat-toast-container.mat-toast-top-center > div {
  width: 300px;
  margin-left: auto;
  margin-right: auto
}

.mat-toast-container.mat-toast-bottom-full-width > div, .mat-toast-container.mat-toast-top-full-width > div {
  width: 96%;
  margin-left: auto;
  margin-right: auto
}

.mat-toast {
  background-color: #030303;
  padding: 14px 16px;
}

.mat-toast-primary {
  background-color: var(--mdc-theme-primary, #030303);
  color: var(--mdc-theme-on-primary, #ffffff);
}

.mat-toast-secondary {
  background-color: var(--mdc-theme-secondary, #030303);
  color: var(--mdc-theme-on-secondary, #ffffff);
}

.mat-toast-light {
  background-color: var(--mdc-theme-light, lightgray);
  color: var(--mdc-theme-dark, #999);
}

.mat-toast-dark {
  background-color: var(--mdc-theme-dark, #999);
  color: var(--mdc-theme-light, lightgray);
}

.mat-toast-link {
  background-color: var(--mdc-theme-dark, #e1e1e1);
  color: var(--mdc-theme-light, blue);
}

.mat-toast-success {
  background-color: #51a351
}

.mat-toast-danger {
  background-color: #bd362f
}

.mat-toast-info {
  background-color: #2f96b4
}

.mat-toast-warning {
  background-color: #f89406
}

.mat-toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #000;
  opacity: .4;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  filter: alpha(opacity=40)
}

@media all and (max-width: 240px) {
  .mat-toast-container > div {
    width: 11em
  }
  .mat-toast-container .mat-toast-close-button {
    right: -.2em;
    top: -.2em
  }
  .mat-toast-container .rtl .mat-toast-close-button {
    left: -.2em;
    right: .2em
  }
}

@media all and (min-width: 241px) and (max-width: 480px) {
  .mat-toast-container > div {
    width: 18em
  }
  .mat-toast-container .mat-toast-close-button {
    right: -.2em;
    top: -.2em
  }
  .mat-toast-container .rtl .mat-toast-close-button {
    left: -.2em;
    right: .2em
  }
}

@media all and (min-width: 481px) and (max-width: 768px) {
  .mat-toast-container > div {
    width: 25em
  }
}
